package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 售后申请表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-10
 */
@TableName("after_indent_commit")
public class AfterIndentCommit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订货单id
     */
    @TableField("indent_order_id")
    private String indentOrderId;

    /**
     * 售后类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 申请人id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 审核状态
     */
    @TableField("check_status")
    private Integer checkStatus;

    @TableField("reason")
    private String reason;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @TableField("time")
    private Date time;

    public String getProessInstanceId() {
        return proessInstanceId;
    }

    public void setProessInstanceId(String proessInstanceId) {
        this.proessInstanceId = proessInstanceId;
    }

    /**
     * 流程id
     */
    @TableField("process_instance_id")
    private String proessInstanceId;


    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIndentOrderId() {
        return indentOrderId;
    }

    public void setIndentOrderId(String indentOrderId) {
        this.indentOrderId = indentOrderId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "AfterIndentCommit{" +
        "id=" + id +
        ", indentOrderId=" + indentOrderId +
        ", type=" + type +
        ", userId=" + userId +
        "}";
    }
}
